package entity;

public class Oder {
	private Integer id;
	private Integer oderId;
	private Integer userId;
	private Double payPrice;
	private Integer payType;
	private Integer status;
	private String payTime;
	private String sendTime;
	private String endTime;
	private String closeTime;
	private String createTime;
	private String updateTime;
	
	
	public Oder() {
		
	}
	
	/*保存时*/
	public Oder(Integer oderId, Integer userId, Double payPrice, Integer payType, String createTime,
			String updateTime) {
		super();
		this.oderId = oderId;
		this.userId = userId;
		this.payPrice = payPrice;
		this.payType = payType;
		this.createTime = createTime;
		this.updateTime = updateTime;
	}
	
	/*更新时*/
	public Oder(Integer oderId, Integer userId, Integer status, String payTime, String sendTime, String endTime,
			String closeTime, String updateTime) {
		super();
		this.oderId = oderId;
		this.userId = userId;
		this.status = status;
		this.payTime = payTime;
		this.sendTime = sendTime;
		this.endTime = endTime;
		this.closeTime = closeTime;
		this.updateTime = updateTime;
	}

	public Integer getId() {
		return id;
	}


	public void setId(Integer id) {
		this.id = id;
	}


	public Integer getOderId() {
		return oderId;
	}


	public void setOderId(Integer oderId) {
		this.oderId = oderId;
	}


	public Integer getUserId() {
		return userId;
	}


	public void setUserId(Integer userId) {
		this.userId = userId;
	}


	public Double getPayPrice() {
		return payPrice;
	}


	public void setPayPrice(Double payPrice) {
		this.payPrice = payPrice;
	}


	public Integer getPayType() {
		return payType;
	}


	public void setPayType(Integer payType) {
		this.payType = payType;
	}


	public Integer getStatus() {
		return status;
	}


	public void setStatus(Integer status) {
		this.status = status;
	}


	public String getPayTime() {
		return payTime;
	}


	public void setPayTime(String payTime) {
		this.payTime = payTime;
	}


	public String getSendTime() {
		return sendTime;
	}


	public void setSendTime(String sendTime) {
		this.sendTime = sendTime;
	}


	public String getEndTime() {
		return endTime;
	}


	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}


	public String getCloseTime() {
		return closeTime;
	}


	public void setCloseTime(String closeTime) {
		this.closeTime = closeTime;
	}


	public String getCreateTime() {
		return createTime;
	}


	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}


	public String getUpdateTime() {
		return updateTime;
	}


	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}


	@Override
	public String toString() {
		return "Oder [id=" + id + ", oderId=" + oderId + ", userId=" + userId + ", payPrice=" + payPrice + ", payType="
				+ payType + ", status=" + status + ", payTime=" + payTime + ", sendTime=" + sendTime + ", endTime="
				+ endTime + ", closeTime=" + closeTime + ", createTime=" + createTime + ", updateTime=" + updateTime
				+ "]";
	}
	
	
	
}
